package com.example.warehouse_manager.service;


import com.example.warehouse_manager.entity.Purchase;
import com.example.warehouse_manager.entity.Result;
import com.example.warehouse_manager.page.Page;

/**
* @author Yang
* @description 针对表【buy_list(采购单)】的数据库操作Service
* @createDate 2024-03-27 15:04:07
*/
public interface PurchaseService{

    //添加采购单
    public Result savePurchase(Purchase purchase);

    //分页查询采购单
    public Page queryPurchasePage(Page page,Purchase purchase);

    //根据id删除采购单
    public Result deletePurchaseById(Integer integer);

    //根据id修改预计采购数量和实际采购数量
    public Result updatePurchaseById(Purchase purchase);

}
